Skip to main content

Get Started with SuperDoc API

Follow this guide to make your first API request and convert a DOCX file to PDF.

Prerequisites

Before you begin, you’ll need:

Step 1: Get Your API Key

1

Sign Up

Create a free account at dashboard.superdoc.dev
2

Generate API Key

Navigate to the API Keys section and create a new key
3

Copy Your Key

Copy your API key. It will look like: sd_live_pk_...
Keep your API key secure and never commit it to version control. Use environment variables in production.

Step 2: Make Your First Request

Using cURL

Using JavaScript

Using Python

Step 3: Handle the Response

Success Response

When successful, the API returns:
  • Status Code: 200 OK
  • Content-Type: application/pdf
  • Body: The converted PDF file as binary data

Error Responses

  • MISSING_AUTH: No API key provided - INVALID_API_KEY: Invalid or expired API key - INVALID_FILE_TYPE: File is not a DOCX - FILE_TOO_LARGE: File exceeds 25MB limit - RATE_LIMIT_EXCEEDED: Too many requests

What’s Next?

Explore API Reference

Deep dive into all available endpoints and options

Error Handling

Learn how to handle errors gracefully

Rate Limits

Understand rate limits and best practices

SDKs

Use our official SDKs for easier integration